﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PersonalCenter.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="Server">
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
            <tr>
                <th>账户ID</th>
                <th>用户名</th>
                <th>真实姓名</th>
                <th>用户类型</th>
                <th>收获地址</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <%
                foreach (var item in user)
                {
            %>
            <tr>
                <td><%=item.UserID %></td>
                <td><%=item.UserName %></td>
                <td><%=item.Name %></td>
                <td><%=item.UserType %></td>
                <td><%=item.Address %></td>
                <td>
                    <asp:Button ID="changePassword" runat="server" Text="修改密码" OnClick="changePassword_Click" />
                <td>
            </tr>
            <tr><asp:Label ID="Label1" runat="server" Text="Label" Visible="true">原密码：</asp:Label><asp:TextBox ID="TextBox1" runat="server" Visible="False" ReadOnly="True"></asp:TextBox>
            <asp:Label ID="Label2" runat="server" Text="Label" Visible="true">请输入新密码：</asp:Label><asp:TextBox ID="TextBox2" runat="server" Visible="False"></asp:TextBox></tr>
            <%
                }%>
            
        </tbody>
    </table>
</asp:Content>

